<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>凯盛项目管理系统</title>
<link rel="stylesheet" type="text/css" href="style/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<style type="text/css">
body {
	padding-top: 70px;
	padding-left: 70px;
	background-image:url(img/ab.png);
}
</style>
</head>
<body class="body">
	<%@ include file="top.jsp" %>
	<%@ include file="leftlabel.jsp" %>
			<div class="span9">

				<ul class="breadcrumb"
					style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
					<li class="active"><a href="javascript:;"><i
							class="icon-th"></i>${goal.goalname}</a></li>
					<li style="float:right"><i class="icon-edit"></i><a
						href="editgoal.action?id=${goal.id}" class="link-black">编辑</a></li>
				</ul>
				<div class="wall">
					<p>${goal.goaldesc}</p>
					<div class="progress progress-danger">
						<div class="bar" style="width:${count.tatalave}%;">当前目标总进度完成${count.tatalave}%</div>
					</div>

					<div class="page-header">
						<a href="addtask.action?goal.id=${goal.id }" class="btn btn-success"><i
							class="icon-plus icon-white"></i>添加新任务</a>
					</div>

					<dl>
						<c:forEach items="${goal.tasklist}" var="task">
							<dt>
								<i class="icon-bookmark"></i><a
									href="edittask.action?id=${task.id}">${task.taskname}</a>&nbsp;&nbsp;&nbsp;[${task.user.username}]
							</dt>
							<dd>${task.taskdesc}</dd>
							<div class="progress">
								<div class="bar" style="width:${task.rate}%;"></div>
							</div>
						</c:forEach>
					</dl>

				</div>
			</div>

		</div>
	</div>
</body>
</html>